﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NetworkPower.DataModel.Models.Mapping
{
    public class DepartmentMap : EntityTypeConfiguration<Department>
    {
        public DepartmentMap()
        {
            this.HasKey(t => t.DepartmentId);

            this.Property(t => t.DepartmentName).HasColumnName("DepartmentName");
            this.Property(t => t.SheetIndex).HasColumnName("SheetIndex");
        }
    }
}
